package net.csdn.business.common.domain.request.notify;

import com.alibaba.fastjson2.JSONObject;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 新增通知中心-模板配置对象DTO notify_template_seting
 * 
 * @author zhangyl
 * @date 2023-11-27
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class NewNotifyTemplateSetingDTO implements Serializable
{

    private static final long serialVersionUID = 1L;

    /** 模板内容*/
    @NotNull(message = "template不能为空")
    private JSONObject template;
    /** 业务编码 */
    @NotNull(message = "businessCode不能为空")
    private String businessCode;
    /** 10：站内信；20：邮件；30：短信； */
    @NotNull(message = "notifyChannel不能为空")
    private Integer notifyChannel;
    @NotNull(message = "state不能为空")
    private Boolean state;
    /** 模板描述*/
    private String remark;
    /** 当前操作人id */
    private String curUserId;

}
